<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Form</title>
</head>
<body>
<div>


    <form action="/database/table" method="post" enctype="multipart/form-data">
        <input type="text" name="ip" th:value="${ip}" placeholder="ip"/><br>
        <input type="text" name="port" th:value="${port}" placeholder="端口"/><br>
        <input type="text" name="schema"  placeholder="数据库名"/><br>
        <input type="text" name="username" th:value="${username}" placeholder="用户名"/><br>
       <input type="text" name="password" th:value="${password}" placeholder="密码"><br>
        <input type="file" name="classFile"/><br>
        <input type="submit" value="上传"/>
    </form>
    <br>


</div><input th:value="'sql：'+${sql}" th:if="${sql!=null}" width="100%"
             style="width: 100%;font-size: large;">
</body>
</html>